package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallCustomerDao;
import com.appkubes.mall.core.entity.MallCustomer;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallCustomerService extends AbstractBaseService<BaseMallCustomerDao, MallCustomer> {

    MallCustomer getOneByEntity(MallCustomer entity);

    List<MallCustomer> selectListByEntity(MallCustomer entity);

    IPage<MallCustomer> selectPageByEntity(IPage<MallCustomer> page);
    IPage<MallCustomer> selectPageByEntity(PageVO pageVO);

    IPage<MallCustomer> selectPageByEntity(MallCustomer entity, IPage<MallCustomer> page);
    IPage<MallCustomer> selectPageByEntity(MallCustomer entity, PageVO pageVO);

    IPage<MallCustomer> selectPageByEntity(MallCustomer entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallCustomer entity);
}
